package cn.kgc.vue.controller;

import cn.kgc.vue.response.ResponseResult;
import cn.kgc.vue.service.ScoreService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 课工场
 * @date 2024/10/9
 * @description  主页面数据可视化控制层
 */
@RestController
@RequestMapping("dataVisual")
public class DataVisualController {

    @Resource
    private ScoreService scoreService;
    // 成绩数据可视化接口
    @GetMapping("score")
    public ResponseResult  scoreDataVisual(){

       return scoreService.scoreDataVisual();
    }

}
